.template-manage-main {
  text-align: center;
  .ant-spin {
    position: fixed;
    left: 0;
    top: 0;
  }
  .template-content {
    background: #fff;
    min-height: 500px;
    padding: 10px;
  }
  .template-type {
    margin-left: -60px;
    padding-left: 60px;
    background: #f3f3f3;
    height: 60px;
    line-height: 60px;
    font-size: 15px;
    .title {
      float: left;
      display: inline-block;
      width: 120px;
      text-align: center;
      color: #a4a4a4;
      cursor: default;
    }
    .template-page {
      float: left;
      position: relative;
      //height: 24px;
      margin: 18px 40px 0 0;
      //border: 1px solid #b0b0b0;
      color: #757575;
      -webkit-transition: all .2s;
      transition: all .2s;
      overflow: hidden;
      .page {
        float: left;
        //padding: 0 15px;
        line-height: 24px;
        //background-color: #fff;
        cursor: pointer;
      }
    }
    .active {
      color: #3186e3;
      //border: 1px solid #3186e3;
    }
    div:hover {
      color: #3186e3;
      //border: 1px solid #3186e3;
    }
    div:hover b {
      background: #3186e3;
    }
  }
  .template {
    width: 260px;
    height: 350px;
    border: 1px solid #eee;
    position: relative;
    float: left;
    margin: 10px 18px 80px 0;
    img {
      width: 100%;
      height: 100%;
      border: 1px solid #efeeee;
      margin-bottom: 15px;
      box-sizing: border-box;
    }
    .template-name {
      font-size: 15px;
      color: #333;
    }
    .template-img-mask {
      background: #000;
      opacity: 0.6;
      position: absolute;
      top: 0;
      display: none;
      width: 260px;
      height: 350px;
    }
    .template-modal-button-apply {
      width: 86px;
      height: 38px;
      line-height: 38px;
      background: #3184e2;
      float: left;
      color: #fff;
      display: none;
      border-radius: 5px;
      position: absolute;
      top: 248px;
      left: 20px;
      cursor: pointer;
    }
    .template-modal-button-apply:hover {
      background-color: #0074cc;
    }
    .template-modal-button-preview {
      width: 86px;
      height: 38px;
      line-height: 38px;
      text-decoration: none;
      color: #666;
      float: left;
      display: none;
      background-color: #e9e9e9;
      border-radius: 5px;
      position: absolute;
      top: 248px;
      left: 130px;
      cursor: pointer;
    }
    .template-modal-button-preview:hover {
      background-color: #dddddd;
    }
  }
  .template:hover .template-img-mask {
    display: block;
  }
  .template:hover .template-modal-button-apply {
    display: block;
  }
  .template:hover .template-modal-button-preview {
    display: block;
  }
}
